package day1214;

import java.util.Scanner;

public class T1 {
    public static void main(String[] args) {
        Scanner s1= new Scanner(System.in);
        String str = s1.nextLine();
        switch (str){
            case "春": System.out.println("spring");break;
            case "夏": System.out.println("summer");break;
            case "秋": System.out.println("fall");break;
            case "冬": System.out.println("winter");break;
            default: System.out.println("err");
        }
        char a = 'x';
        char b = s1.nextLine().charAt(0);
        switch (b){
            case 'a': System.out.println("first");break;
            case 'b': System.out.println("second");break;
            case 'c': System.out.println("third");break;
            case 'd': System.out.println("fourth");break;
            default: System.out.println("err");
        }
        int d = 2;int p = 3;
        switch (d*p){
            case 0: System.out.println("perfect");break;
            case 3: System.out.println("great");break;
            case 6: System.out.println("good");
            case 9: System.out.println("get");break;
            default: System.out.println("out of 0-10");
        }
    }
}
